import cv2
img=cv2.imread("bear.png")
dst1=cv2.resize(img,None,fx=2,fy=2)
dst2=cv2.resize(img,None,fx=1/3,fy=1/2)
dst3=cv2.resize(img,(200,200))
cv2.imshow("Input",img)
cv2.imshow("Resize1",dst1)
cv2.imshow("Resize2",dst2)
cv2.imshow("Resize3",dst3)
cv2.waitKey()
cv2.destroyAllWindows()